﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TWiStEr.Math {
	public static class MathUtil {
		public static double ToDegree(this double radian) {
			return radian / System.Math.PI * 180;
		}
		public static double ToRadian(this double degree) {
			return degree / 180 * System.Math.PI;
		}
	}
}
